package Parser;

/**
 * Title: Set
 * Description: Contains Set properties
 * @version 1.0
 */

public class Set {
  private String Name;
  private double x1, x2, x3, x4;

  public Set(String name, double x1, double x2, double x3, double x4) {
    this.Name = name;
    this.x1 = x1;
    this.x2 = x2;
    this.x3 = x3;
    this.x4 = x4;
  }

  public String GetName(){
    return this.Name;
  }

  public double GetX1(){
    return this.x1;
  }

  public double GetX2(){
      return this.x2;
    }

  public double GetX3(){
      return this.x3;
    }

  public double GetX4(){
      return this.x4;
    }

  public String toString() {
    String set = this.Name + "\t " + this.x1 + "  " + this.x2 + "  " + this.x3 + "  " + this.x4 + "\n";
    return set;
  }

}
